package com.itheima.dao;

import com.itheima.pojo.User;
import org.apache.ibatis.annotations.Param;

/**
 * @Author likepei
 * @Date 2020/1/17 11:29
 * @Version v1.0
 * @Description 用户持久层接口
 */
public interface UserDao {

    /**
     * 根据ID查询用户
     * @param id
     * @return
     */
    public User findById(@Param("id") Integer id);
}
